package com.bbcare.switchData.entity.model;

import com.bbcare.switchData.entity.basemodel.BaseEntityForBB;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


public class PtDiscourseInfo extends BaseEntityForBB<PtDiscourseInfo> {

	private String ptStageId; // 实例阶段id
	private String planId; // 治疗计划实例id
	private String ptSchemeId; // 患者队列实例id
	private String userId; // 患者id
	private String queueId; // 队列id
	private String courseName; // 实例化疗程名称
	private String courseIntro; // 疗程描述
	private String courseId; // 模板中的原始疗程id
	private Integer courseVersion; // 原始疗程模板版本id
	private String courseType; // 疗程类型，00正常疗程，01额外疗程，其他待扩展
	private Integer seqNo; // 序号，从1开始递增，升序排列
	private Integer totalNum; // 疗程下诊疗天数
	private Integer status;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private Date createTime; // 创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private Date updateTime; // 更新时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private Date finishTime; // 完成时间
	private String createAuthor; // 创建人id
	private String updateAuthor; // 更新人id
	private String updateAccept; // 操作流水
	private String tenantId; // 租户id
	private String groupType; // 分组类型，0血液病随机分组，其他待扩展
	private String groupValue; // 分组值
	private java.math.BigDecimal courseHeight; // 当前疗程下患者身高（单位：cm）
	private java.math.BigDecimal courseWeight; // 当前疗程下患者的体重（单位：kg）
	private java.math.BigDecimal surfaceArea; // 根据身高和体重计算出的体表面积
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private Date startDate; // 疗程初始日期
	private String dealStatus; // 处理状态，00代表未完成，01代表已完成，02代表复发失效，03代表中止
	private String courseData; // 疗程用药详情json
	private Integer stageSeqNo; // 疗程对应阶段的序号（方便排序）
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private Date expireDate; // 疗程截止日期
	private String expireReason; // 疗程截止理由
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private Date nowDate; // 当前日期


	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getNowDate() {
		return nowDate;
	}

	public void setNowDate(Date nowDate) {
		this.nowDate = nowDate;
	}

	public String getPtStageId() {
		return ptStageId;
	}
	
	public void setPtStageId(String ptStageId) {
		this.ptStageId = ptStageId;
	}
	
	public String getPlanId() {
		return planId;
	}
	
	public void setPlanId(String planId) {
		this.planId = planId;
	}
	
	public String getPtSchemeId() {
		return ptSchemeId;
	}
	
	public void setPtSchemeId(String ptSchemeId) {
		this.ptSchemeId = ptSchemeId;
	}
	
	public String getUserId() {
		return userId;
	}
	
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getQueueId() {
		return queueId;
	}
	
	public void setQueueId(String queueId) {
		this.queueId = queueId;
	}
	
	public String getCourseName() {
		return courseName;
	}
	
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	
	public String getCourseIntro() {
		return courseIntro;
	}
	
	public void setCourseIntro(String courseIntro) {
		this.courseIntro = courseIntro;
	}
	
	public String getCourseId() {
		return courseId;
	}
	
	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}
	
	public Integer getCourseVersion() {
		return courseVersion;
	}
	
	public void setCourseVersion(Integer courseVersion) {
		this.courseVersion = courseVersion;
	}
	
	public String getCourseType() {
		return courseType;
	}
	
	public void setCourseType(String courseType) {
		this.courseType = courseType;
	}
	
	public Integer getSeqNo() {
		return seqNo;
	}
	
	public void setSeqNo(Integer seqNo) {
		this.seqNo = seqNo;
	}
	
	public Integer getTotalNum() {
		return totalNum;
	}
	
	public void setTotalNum(Integer totalNum) {
		this.totalNum = totalNum;
	}
	
	public Date getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Date getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public Date getFinishTime() {
		return finishTime;
	}
	
	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}
	
	public String getCreateAuthor() {
		return createAuthor;
	}
	
	public void setCreateAuthor(String createAuthor) {
		this.createAuthor = createAuthor;
	}
	
	public String getUpdateAuthor() {
		return updateAuthor;
	}
	
	public void setUpdateAuthor(String updateAuthor) {
		this.updateAuthor = updateAuthor;
	}
	
	public String getUpdateAccept() {
		return updateAccept;
	}
	
	public void setUpdateAccept(String updateAccept) {
		this.updateAccept = updateAccept;
	}
	
	public String getTenantId() {
		return tenantId;
	}
	
	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}
	
	public String getGroupType() {
		return groupType;
	}
	
	public void setGroupType(String groupType) {
		this.groupType = groupType;
	}
	
	public String getGroupValue() {
		return groupValue;
	}
	
	public void setGroupValue(String groupValue) {
		this.groupValue = groupValue;
	}
	
	public java.math.BigDecimal getCourseHeight() {
		return courseHeight;
	}
	
	public void setCourseHeight(java.math.BigDecimal courseHeight) {
		this.courseHeight = courseHeight;
	}
	
	public java.math.BigDecimal getCourseWeight() {
		return courseWeight;
	}
	
	public void setCourseWeight(java.math.BigDecimal courseWeight) {
		this.courseWeight = courseWeight;
	}
	
	public java.math.BigDecimal getSurfaceArea() {
		return surfaceArea;
	}
	
	public void setSurfaceArea(java.math.BigDecimal surfaceArea) {
		this.surfaceArea = surfaceArea;
	}
	
	public Date getStartDate() {
		return startDate;
	}
	
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	
	public String getDealStatus() {
		return dealStatus;
	}
	
	public void setDealStatus(String dealStatus) {
		this.dealStatus = dealStatus;
	}
	
	public String getCourseData() {
		return courseData;
	}
	
	public void setCourseData(String courseData) {
		this.courseData = courseData;
	}
	
	public Integer getStageSeqNo() {
		return stageSeqNo;
	}
	
	public void setStageSeqNo(Integer stageSeqNo) {
		this.stageSeqNo = stageSeqNo;
	}
	
	public Date getExpireDate() {
		return expireDate;
	}
	
	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}
	
	public String getExpireReason() {
		return expireReason;
	}
	
	public void setExpireReason(String expireReason) {
		this.expireReason = expireReason;
	}
	
}
